package com.h3c.nem.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;
import java.util.Date;

/**
 * Copyright (C), 2020-2020, h3c
 * FileName: SdUser
 *
 * @Author: l22886
 * @Date: 2022-01-19
 * Description: sd_user 实体
 * Version: 1.0
 */
@ApiModel(value="SdUser对象", description="")
@Table(name = "sd_user")
@Data
public class SdUser {


    @ApiModelProperty(value = "员工工号")
    @Column(name = "user_id")
    @TableId(value = "user_id")
    private String userId;

    @ApiModelProperty(value = "员工域账号")
    @Column(name = "domain_account")
    private String domainAccount;

    @Column(name = "user_name")
    private String userName;

    @ApiModelProperty(value = "手机号码（用于接收登录验证码）")
    @Column(name = "phone_no")
    private String phoneNo;

    @Column(name = "email")
    private String email;

    @Column(name = "user_role")
    private String userRole;

    @Column(name = "dept_system")
    private Integer deptSystem;

    @Column(name = "operate_time")
    private Date operateTime;

    @Column(name = "operator_id")
    private String operatorId;

    @Column(name = "creator_id")
    private String creatorId;

    @Column(name = "teacher_flag")
    private Integer teacherFlag;

    /**
     * 是否可以发送offer
     */
    @Column(name = "can_send_offer")
    private Integer canSendOffer;
}
